//
//  HostModel.swift
//  OnemeetingDemo
//
//  Created by zhangheng on 2019/11/19.
//  Copyright © 2019 www.onemeeting.1meetingIos. All rights reserved.
//

import Foundation
/*
 result ={
 code = 0;
 "diplay_name" = "\U5f20\U8861";
 hostId = Vl4yhbVJSJ2z6T8R2mNcFg;
 invite = 0;
 livetoken = "T6DEAV9JVHKMSFCK?auth_key=1597010418-0-0-d89a4be9a0c5dafb9e2226a657a00b83";
 liveurl = "rtmp://pushlive2.1meeting.com/1meeting";
 living = 0;
 "look_way" = 1;
 ownId = c622869;
 password = "";
 playurl = "http://www.1meeting.cn/activedetail/404001";
 roomId = 273099347;
 status = 0;
 time = 0;
 token = "9FHVomVWVp9EjUTlfZHc5biOFImlAz4f-g1r1hj3VRw.BgUYaWhURHBFSVIyMmJvcGxCZ21FZ0ttUT09AAAMM0NCQXVvaVlTM3M9AAA";
 url = "http://www.1meeting.cn/windows/1meeting1.5.msi";
 version = "1.5";
 zak = "eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiJWbDR5aGJWSlNKMno2VDhSMm1OY0ZnIiwiaXNzIjoid2ViIiwic3R5Ijo5OSwid2NkIjoiYXcxIiwiY2x0IjowLCJzdGsiOiJQcURGR2V0X3BCN09ZeTYxMlJHRVBpdEVXdHBreEtVdEhDOTRHV0xsZDJrLkJnVVlhV2hVUkhCRlNWSXlNbUp2Y0d4Q1oyMUZaMHR0VVQwOUFBQU1NME5DUVhWdmFWbFRNM005QUFOaGR6RSIsImV4cCI6MTU4MjE4MTk5MSwiaWF0IjoxNTc0NDA1OTkxLCJhaWQiOiIxd2lxbmFYalFjeXlLbWJEaFdTTG9RIiwiY2lkIjoiIn0.MovJ3gGzEePt0b4fu8UAu7XcJvWeN4UU6mFvCUAoIAU";
 }
 */
/*
struct HostModel: Codable {
    var code:Int!
    var msg:String?
    var invite:Int?
    var diplay_name:String?
    var hostId:String?
    var look_way:String?
    var ownId:String?
    var password:String?
    var roomId:Int?
    var status:Int?
    var time:Float?
    var token:String?
    var url:String?
    var version:Float?
    var zak:String?
    var isSupPay:String?

    //直播地址
    var living:Int?
    var livetoken:String?
    var liveurl:String?
    var playurl:String?
 
    /*
    enum CodingKeys: String, CodingKeys {
        case msg
    }
    */
}
*/

class SJHostModel: HandyJSON{
    var msg:String           = ""
    var invite:NSNumber      = 0
    var code:NSNumber        = 0
    var display_name:String  = ""
    var hostId:String        = ""
    var look_way:String      = ""
    var ownId:String         = ""
    var password:String      = ""
    var roomId:String        = ""
    var status:NSNumber      = 0
    var time:String          = ""
    var token:String         = ""
    var url:String           = ""
    var version:String       = ""
    var zak:String           = ""

    var isSupPay:NSNumber    = 0

    //直播地址
    var living:NSNumber      = 0
    var livetoken:String     = ""
    var liveurl:String       = ""
    var playurl:String       = ""
    
    required init() {}
}

